const app = getApp();
Page({
  data: {
    list: [],
    page: 0,
  },
  onShow: function () {
    let that = this;
    that.getInfo();
  },
  getInfo(e){
    let that = this;
    let page = that.data.page + 1;
    app.request('collect/collectList',{ page },'GET',false,function(res){
      that.setData({
        pageShow: true,
        list: res.data.data.data
      })
    })
  },
  getFormid(e) {
    app.getFormid(e);
  },
  skipPage: function (e) {
    app.skipPage(e);
  },
  onPullDownRefresh: function () {

  },
  onReachBottom: function () {
    this.getInfo();
  },
  onShareAppMessage(){
    return {
      path: '/pages/index/index'
    }
  }
})